package com.heima.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.user.pojos.ApUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ApUserMapper extends BaseMapper<ApUser> {

    @Select("SELECT * FROM ap_user WHERE ap_user.id=#{id}")
    ApUser findById(@Param("id") Integer id);
}
